package com.EC_Jeans.datamodel;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
public class User implements java.io.Serializable {

	// Fields

	private Integer userId;
	private String userName;
	private String userPwd;
	private String userEmail;
	private UserInfo userInfo;

	// Constructors


	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(String userName, String userPwd, String userEmail) {
		this.userName = userName;
		this.userPwd = userPwd;
		this.userEmail = userEmail;
	}

	/** full constructor */
	public User(String userName, String userPwd, String userEmail, UserInfo userInfo) {
		this.userName = userName;
		this.userPwd = userPwd;
		this.userEmail = userEmail;
		this.userInfo = userInfo;
	}

	// Property accessors

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPwd() {
		return this.userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}

	public String getUserEmail() {
		return this.userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public UserInfo getUserInfo() {
		return userInfo;
	}

	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}

}